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

Re: tmpfs nicht mountbar



On Tue, Apr 12, 2005 at 06:48:11PM +0200, Andreas Pakulat wrote:
> 
> mount -t tmpfs -o size=1MB,defaults none /mnt/tmpfs
> 
> In meiner fstab steht 
> tmpfs                   /dev/shm        tmpfs   defaults 0   0
> 
> Das das sonst keinem aufgefallen ist...

Weil's keine Rolle spielt:

$ sudo mount -t tmpfs -o size=128M,defaults /andreas-p-ist-auch-kein-superheld /dev/shm
friese@petebull:~$ mount
/dev/hda2 on / type reiserfs (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/andreas-p-ist-auch-kein-superheld on /dev/shm type tmpfs (rw,size=128M)

bei Pseudo-FS wie proc, tmpfs und noch ein paar anderen kann man
als Geraet angeben, was man lustig ist. Die ziemlich schlechteste
Wahl ist "none", da die Fehlermeldung beim Aushaengen, falls das
FS noch benutzt wird, lauten kann:
umount: "none" busy

-- 
Peter



Reply to: