WoldemarShiPa
Posts: 1
Joined: Sun Dec 16, 2012 4:59 pm

/etc/fstab ArchlinuxArm

Wed Mar 05, 2014 7:42 am

Hello. I want to set mount flags for my /dev/root, but /etc/fstab doesn't contain /dev/root entry (mounted by VFS). How can I do it? Simply add that line? Thanks.

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: /etc/fstab ArchlinuxArm

Thu Mar 06, 2014 8:12 am

Hmm, I see what you mean. I would guess you can try adding a line, as long as your syntax is correct. But you could also render the rootfs inaccessible, so be careful.

But studying my /etc/fstab on arch, it looks like you had better do something starting with the following if using /dev/root does not work, because it really is the whole second partition. I think /dev/root is a symlink to it???

/dev/mmcblk0p2 /

EDIT: I looked at output of mount command, the output for root partition is:

/dev/mmcblk0p2 on / type ext4 (rw,relatime,data=ordered)

But I am not sure this is the right way to do that, is there something you could put into /boot/cmdline.txt that would accomplish what you need?
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

Return to “Beginners”