Mounting USB flash disk synchronously
christoph.georgi at web.de
Thu Mar 17 23:21:41 UTC 2005
Couldn't you also just kill the PID of famd that shows up when you lsof
the device as sudo or do you kill the whole fam daemon with this action?
chg at daemon:~ $ sudo lsof /dev/sda3
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
famd 3821 chg 30r DIR 8,3 4096 2 /media/sda3
chg at daemon:~ $ kill 3821
Erik Bågfors wrote:
> On Thu, 17 Mar 2005 11:05:35 +0100, Joaquin Cuenca Abela
> <e98cuenc at gmail.com> wrote:
>>On Thu, 17 Mar 2005 09:44:06 +0100, Krysztof Luks <kluks at iq.pl> wrote:
>>>it there a way to make hotplug mount USB disks with sync option? Manual
>>>for mount says that "the sync option today has effect only for ext2,
>>>ext3 and ufs" does this mean that vfat disks can't be mounted
>>There is an open bug about it:
>>It makes usb keys unusable to normal users on warty, as there is also
>>another bug in nautilus/fam that makes it impossible to unmount the
>>usb key after you've visited a bit the contents of the key with
>>So, we're saying: "you should unmount your key or your data will be
>>corrupted", and when they actually remember to unmount the key,
>>nautilus says that it's not possible to unmount the key for some
>>unknown reasons to mere mortals.
> It's usually fam that holds your disk. Just run "sudo /etc/init.d/pam stop"
> Unmount the disk and rerun the command but with start instead of stop.
email. christoph.georgi at web.de
fon. +64 (0)9 815 8259
registered linux user #380268
ubuntulinux 4.10 (warty)
More information about the ubuntu-users