[Pkg-sysvinit-devel] Bug#665995: fstab actually not overriding RAMTMP ?

J M Cerqueira Esteves jmce at artenumerica.com
Sun Apr 15 14:50:15 UTC 2012


On 2012-04-15 13:32, J M Cerqueira Esteves wrote:
> In my recently installed Wheezy machine, the end effect is that I have
> two /tmp mounts, both with the same size (wondering why the size is the
> same... or maybe I failed to understand something)

Yep, I did fail to understand they don't have the same size --- I was
just watching the output of df:

root at miranda:/root# df | grep /tmp
tmpfs                     1827264       69   1788202   1% /tmp
/dev/mapper/MIRANDA-TMP   1827264       69   1788202   1% /tmp

but mount shows

root at miranda:/root# mount | grep /tmp
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=734240k)
/dev/mapper/MIRANDA-TMP on /tmp type ext2 (rw,noatime,errors=continue)

Thus I suppose that, although a tmpfs is automatically mounted on /tmp
at first, later on the logical volume I specified in fstab is also
mounted, with df only able to show the size of the file system actually
being used (thus wrong in the tmpfs line).






More information about the Pkg-sysvinit-devel mailing list