You are not logged in.

#1 2012-10-16 00:30:15

basementcat
Member
Registered: 2009-02-25
Posts: 10

[fstab] Mounting a directory at boot

In the past, I had the following line in fstab and it works.

none   /var/tmp   tmpfs     defaults,size=20M   0      0

I reinstall the whole system today, and I have got the following error.

[FAILED] Failed to mount /var/tmp.

Would anyone give me some insights? Thanks.

Last edited by basementcat (2012-10-16 00:31:28)

Offline

#2 2012-10-16 00:42:24

fschiff
Member
Registered: 2011-10-06
Posts: 71

Re: [fstab] Mounting a directory at boot

It doesn't matter.
You shouldn't be doing this.

/var/tmp is for files that should be preserved between reboots.
It should not be mounted as tmpfs.

This is mentioned in the fstab wiki entry and elsewhere.

Last edited by fschiff (2012-10-16 00:44:59)

Offline

Board footer

Powered by FluxBB