Subject: Bug#3993: users can't umount user mounts

From: Daniel Quinlan <[email-masked]>
Date: Thu, 1 Aug 1996 12:19:05 -0400

Package: mount
Version: 2.5j-1

The transcript should explain the problem pretty well.  I believe the
problem is the different between the options line in the fstab and the
options listed by `mount', but I haven't had any time to examine the
problem further.

There is also a 2.5k version of mount.

[quinlan:~]$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system>	<mount point>	<type>	<options>	<dump>	<pass>
/dev/sda1	/		ext2	defaults	0	1
/dev/sda2	none		swap	sw		0	0
/dev/sda3	/dos		vfat	defaults	0	2
proc		/proc		proc	defaults	0	0
/dev/sda4	/local		ext2	defaults	0	2
/dev/cdrom	/cd		iso9660	ro,user,noauto	0	0
[quinlan:~]$ df
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/sda1             498900  129148   343985     27%   /
/dev/sda4            3053225  347526  2547789     12%   /local
/dev/sda3             453288   40448   412840      9%   /dos
[quinlan:~]$ mount /cd
[quinlan:~]$ df
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/sda1             498900  129164   343969     27%   /
/dev/sda4            3053225  347534  2547781     12%   /local
/dev/sda3             453288   40448   412840      9%   /dos
/dev/sbpcd0           388856  388856        0    100%   /cd
[quinlan:~]$ mount
/dev/sda1 on / type ext2 (rw)
/proc on /proc type proc (rw)
/dev/sda4 on /local type ext2 (rw)
/dev/sda3 on /dos type vfat (rw)
/dev/sbpcd0 on /cd type iso9660 (ro,noexec,nosuid,nodev)
[quinlan:~]$ umount /cd
umount: /cd mount disagrees with the fstab
[quinlan:~]$ sudo umount /cd