Re: [SLE] setting the mount option for USB flash
- From: Basil Chupin <blchupin@xxxxxxxxxx>
- Date: Tue, 29 Aug 2006 11:21:59 +1000
Jason Kim wrote:
On Tue, 2006-08-29 at 02:06 +1000, Basil Chupin wrote:Jason Kim wrote:In SuSE, it seems like fstab is not synchronized with the newlyYou don't say which version of SuSE you are using but here is the entry in my fstab which SUSE 10.1 created:
plugged-in storage devices. I've noticed that there was no entry for my
USB flash when I plugged it into my system.
I want to set the uid and umask in the mount options for my flash so
that nobody can access the mount point except me.
In FC4, I can control the mount options by modifying fstab, but if I add
a new entry into fstab in SuSE and double click the device icon in the
"File Browser", I just got a error message dialog as follow :
Mount Error
Operation failed
/dev/sda1 found in /etc/fstab
I wonder how SuSE choose the mount options when it auto-mounts USB
storage, and when I double click the device icon in the "File Browser".
I've added new fdi file to set the policy for the mount options, and
I've confirmed the values in the "lshal", but it didn't
work. /proc/mounts had no mount options I set in fdi file.
Could someone give me a hint?
Jason
usbfs /proc/bus/usb usbfs auto 0 0
When the USB flash is plugged in it appears in /media and the entry in mtab is:
/dev/sda1 /media/CORSAIR vfat rw,nosuid,nodev,noatime,flush,uid=1000,utf8,shortname=lower 0 0
Cheers.
I'm using SuSE 10.1. I didn't expect the line started with "usbfs" was
for my flash. Is the usbfs for all USB storage devices?
As far as I know, yes, it is for all USB devices. When I power-up my external USB HD it shows up as 2 devices (when mounted) because the HD has 2 partitions, one formatted in FAT32 and the other in reiserfs. At the same time if I plug in my flash disk it also shows up (as sda1).
See also my reply to Bruce.
Cheers.
--
This computer is environment-friendly and is running on OpenSuSE 10.1
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx
- References:
- [SLE] setting the mount option for USB flash
- From: Jason Kim
- Re: [SLE] setting the mount option for USB flash
- From: Basil Chupin
- Re: [SLE] setting the mount option for USB flash
- From: Jason Kim
- [SLE] setting the mount option for USB flash
- Prev by Date: Re: [SLE] setting the mount option for USB flash
- Next by Date: Re: [SLE] parport_pc suse 10
- Previous by thread: Re: [SLE] setting the mount option for USB flash
- Next by thread: [SLE] Firefox hogs CPU
- Index(es):
Relevant Pages
|