[SLE] df and automount was Re: [SLE] Safely Removing USB Stick as a user
-------------- Original message ----------------------
From: "Bryan J. Smith"
On Wed, 2006-06-07 at 01:40 +0500, Sergey Mkrtchyan wrote:
So just taking it off, even when light on it is on, is OK ? Nothing "harmful" for the stick ?
If you run "df" and it doesn't show up as mounted, it means it's been auto-umounted. Now I wouldn't remove the USB key immediately after writing to it. But if it's been 30 seconds or so, it's typically safe.
-- Bryan J. Smith Professional, technical annoyance mailto:b.j.smith@ieee.org http://thebs413.blogspot.com
So is there an argument to pass with df, that will show automounted devices? -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
lerninlinux@comcast.net wrote:
-------------- Original message ---------------------- From: "Bryan J. Smith"
On Wed, 2006-06-07 at 01:40 +0500, Sergey Mkrtchyan wrote:
So just taking it off, even when light on it is on, is OK ? Nothing "harmful" for the stick ?
If you run "df" and it doesn't show up as mounted, it means it's been auto-umounted. Now I wouldn't remove the USB key immediately after writing to it. But if it's been 30 seconds or so, it's typically safe.
-- Bryan J. Smith Professional, technical annoyance mailto:b.j.smith@ieee.org http://thebs413.blogspot.com
So is there an argument to pass with df, that will show automounted devices?
You have to be a bit more specific what you request. I have found as root to execute the following command more useful than df: "more /proc/mounts" -- Joseph Loo jloo@acm.org -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Joseph Loo wrote:
lerninlinux@comcast.net wrote:
-------------- Original message ---------------------- From: "Bryan J. Smith"
On Wed, 2006-06-07 at 01:40 +0500, Sergey Mkrtchyan wrote:
So just taking it off, even when light on it is on, is OK ? Nothing "harmful" for the stick ?
If you run "df" and it doesn't show up as mounted, it means it's been auto-umounted. Now I wouldn't remove the USB key immediately after writing to it. But if it's been 30 seconds or so, it's typically safe.
-- Bryan J. Smith Professional, technical annoyance mailto:b.j.smith@ieee.org http://thebs413.blogspot.com
So is there an argument to pass with df, that will show automounted devices?
You have to be a bit more specific what you request. I have found as root to execute the following command more useful than df: "more /proc/mounts"
Why do you have to use root? -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
James Knott wrote:
Joseph Loo wrote:
lerninlinux@comcast.net wrote:
-------------- Original message ---------------------- From: "Bryan J. Smith"
On Wed, 2006-06-07 at 01:40 +0500, Sergey Mkrtchyan wrote:
So just taking it off, even when light on it is on, is OK ? Nothing "harmful" for the stick ?
If you run "df" and it doesn't show up as mounted, it means it's been auto-umounted. Now I wouldn't remove the USB key immediately after writing to it. But if it's been 30 seconds or so, it's typically safe.
-- Bryan J. Smith Professional, technical annoyance mailto:b.j.smith@ieee.org http://thebs413.blogspot.com
So is there an argument to pass with df, that will show automounted devices?
You have to be a bit more specific what you request. I have found as root to execute the following command more useful than df: "more /proc/mounts"
Why do you have to use root?
It is a protected file that root can only access. -- Joseph Loo jloo@acm.org -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Joseph Loo wrote:
James Knott wrote:
Why do you have to use root?
It is a protected file that root can only access.
I guess someone forgot to tell my computers. It works fine here as a user. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Wednesday 07 June 2006 21:04, James Knott wrote:
I guess someone forgot to tell my computers. It works fine here as a user.
ditto here, but this is Linux... maybe it's more restricted on other *nix's? Carl -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Wed, 2006-06-07 at 17:37 -0700, Joseph Loo wrote:
You have to be a bit more specific what you request. I have found as root to execute the following command more useful than df: "more /proc/mounts"
Ack! Let's not get anal here. Just _any_ command that reads mount status will do! ;-> df mount cat /proc/mounts cat /etc/mtab etc... -- Bryan J. Smith Professional, technical annoyance mailto:b.j.smith@ieee.org http://thebs413.blogspot.com ------------------------------------------------------- Illegal Immigration = "Representation Without Taxation" -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (5)
-
Bryan J. Smith
-
Carl Hartung
-
James Knott
-
Joseph Loo
-
lerninlinux@comcast.net