[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#2885: Umsdos tries to sync unmounted drives



Malc Arnold writes:
> On bootup, /etc/rc.boot/0umsdos runs "umssync" on /floppy.  The problem
> is that while /floppy is listed in /etc/fstab, it is only there as a
> convenience, and is not auto-mounted at boot time.  This leads to an
> error message fromn umssync, which is inelegant, although harmless.
> ...
> 
> My solution was to modify /etc/rc.boot/0umsdos to read:
> 
> #!/bin/sh
> 
> echo "Syncing UMSDOS filesystems ..."
> grep umsdos /etc/fstab|grep -v noauto|awk '{FS= " "; print $1,$2}'|
> while read dev dir
> do
> 	/sbin/umssync -c+ -v- -r99 -i+ $dir
> 	echo $dev" has been synced."
> done

Thanks. It's incorporated in recently uploaded 0.8-4.

Michael

-- 
Michael Meskes                   |    _____ ________ __  ____
                                 |   / ___// ____/ // / / __ \___  __________
meskes@informatik.rwth-aachen.de |   \__ \/ /_  / // /_/ /_/ / _ \/ ___/ ___/
                                 |  ___/ / __/ /__  __/\__, /  __/ /  (__  )
Use Debian Linux!		 | /____/_/      /_/  /____/\___/_/  /____/


Reply to: