What's the /etc/.fstab file on Raspbian for? (I know what /etc/fstab is for; the /etc/.fstab is nearly but not quite a copy of that.)
Raspbian "/etc/.fstab" file?
Jun 16, 2015
2 Replies
Probably a working copy or backup copy made by some part of the installer or an admin program.
That seems to be the case. It exactly matches the /etc/fstab on the original Raspbian image that I downloaded, so it must have done by the installer. Thanks.
This was also a useful opportunity to figure out how to mount one partition of the img file using the loopback. In my case:
$ sudo fdisk -l 2015-05-05-raspbian-wheezy.img
Disk 2015-05-05-raspbian-wheezy.img: 3.1 GiB, 3276800000 bytes, 6400000 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xa6202af7
Device Boot Start End Sectors Size Id Type
2015-05-05-raspbian-wheezy.img1 8192 122879 114688 56M c W95 FAT32 (LBA) 2015-05-05-raspbian-wheezy.img2 122880 6399999 6277120 3G 83 Linux$ sudo losetup -f --show -o $((122880 * 512)) 2015-05-05-raspbian-wheezy.img
I got the idea from here:
Just posting that in case anyone else cares!
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required