Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev partition mount
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Vmulay
n00b
n00b


Joined: 11 Jul 2021
Posts: 20

PostPosted: Wed Jul 14, 2021 11:48 am    Post subject: dev partition mount Reply with quote

I have created a separate partition for dev. Following the install handbook directions has me execute the following:

root #mount --rbind /dev /mnt/gentoo/dev
root #mount --make-rslave /mnt/gentoo/dev

I already mounted /mnt/gentoo/dev on the partition device, should the above need to be modified for me or should I continue with the above commands?


Last edited by Vmulay on Wed Jul 14, 2021 12:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Jul 14, 2021 12:03 pm    Post subject: Reply with quote

Normally dev filesystem is not on disk, it is in memory. Do you intend to use static dev? Out of curiosity, what's the benefit of having static dev on its own partition? Anyway, you don't need bind mount for static dev.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!


Last edited by Jaglover on Wed Jul 14, 2021 12:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
Vmulay
n00b
n00b


Joined: 11 Jul 2021
Posts: 20

PostPosted: Wed Jul 14, 2021 12:10 pm    Post subject: Reply with quote

Saw partitioning recommendation for a separate /dev partition, so wanted to try it. If it’s not the current way of setting up the install, I don’t need to go further with that. Any benefits to having separate dev partition?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Wed Jul 14, 2021 12:37 pm    Post subject: Reply with quote

Vmulay,

None at all.
For the last 15 years or more. /dev has not been on disk, so the concept of partition does not apply.
When it is on disk, making a separate partition adds complexity, since you usually need the content of /dev, to mount partitions but if /dev isn't there you can't use it to mount /dev.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21706

PostPosted: Thu Jul 15, 2021 1:32 am    Post subject: Reply with quote

Where did you see this recommendation?
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2965
Location: Edge of marsh USA

PostPosted: Thu Jul 15, 2021 4:34 am    Post subject: Reply with quote

Put home on a separate partition for a sane layout. Otherwise, don't add unnecessary complexity unless needed by your use case.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum