Problem mounting a directory at boot time

I recently installed linux in a computer and I had a partition dedicated to /tmp. Mounting at boot time was not working.

The culprit was an extra / in my /etc/fstab:

/dev/sdb1 /tmp/ ext3 noexec,nosuid,nodev 0 2

(doesn’t work)

I removed the / from /tmp/ and everything worked as expected… I guess in fstab, a mount point is expected, not a directory (small difference).

/dev/sdb1 /tmp ext3 noexec,nosuid,nodev 0 2

(works)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s