Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev nodes for new partitions [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Section_8
l33t
l33t


Joined: 22 May 2004
Posts: 627

PostPosted: Fri Jul 16, 2010 8:38 pm    Post subject: /dev nodes for new partitions [solved] Reply with quote

I'm about to install a new SATA, internal, non-raid HD in my system. I usually use cfdisk to partition it, and usually end up rebooting to get the new /dev nodes (/dev/sdb1, /dev/sdb2, etc.) to show up.

Is there a way to tell the kernel, or udev to re-read the partition table and get the /dev nodes without a reboot?


Last edited by Section_8 on Sat Jul 17, 2010 12:48 am; edited 1 time in total
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Jul 16, 2010 11:55 pm    Post subject: Reply with quote

Code:
# blockdev --rereadpt /dev/sdb
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Sat Jul 17, 2010 12:11 am    Post subject: Reply with quote

i think udev will just create them as soon as partitions are there.
for me, nothing to do. Just do it(c), yes you can(c)...
Back to top
View user's profile Send private message
Section_8
l33t
l33t


Joined: 22 May 2004
Posts: 627

PostPosted: Sat Jul 17, 2010 12:47 am    Post subject: Reply with quote

krinn - thanks - I just finished partitioning and the nodes just automagically showed up - but I'm pretty sure I've had to reboot before to get them. cyrillic - thanks for the command.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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