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.)
- posted
8 years ago
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.)
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!
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.