[Grml] Re: [OT] udev and number of devices
Michael Prokop
mika at grml.org
Mon Dec 4 11:31:15 CET 2006
* T <mlist4suntong at yahoo.com> [20061204 03:15]:
> On Sun, 03 Dec 2006 19:30:28 -0500, T wrote:
> > My HD used to have 15 partitions, now I created another one, the 16th, but
> > it is not recognized by udev.
> Just a proof that no problem with adding the 16th partition:
> $ sfdisk -V /dev/sda
> /dev/sda: OK
> $ sfdisk -l | grep sda16
> /dev/sda16 23509+ 24791 1283- 10305666 c W95 FAT32 (LBA)
> Further, my Win2k accesses the sda16 without any problem.
> $ dd if=/dev/sda16 of=/dev/null bs=512 count=1
> dd: opening `/dev/sda16': No such device or address
Such a limit does not exist for udev:
root at grml ~ # ls -la /dev/hda*
brw-rw---- 1 root disk 3, 0 2006-12-04 12:25 /dev/hda
brw-rw---- 1 root disk 3, 1 2006-12-04 12:25 /dev/hda1
brw-rw---- 1 root disk 3, 10 2006-12-04 12:25 /dev/hda10
brw-rw---- 1 root disk 3, 11 2006-12-04 12:25 /dev/hda11
brw-rw---- 1 root disk 3, 12 2006-12-04 12:25 /dev/hda12
brw-rw---- 1 root disk 3, 13 2006-12-04 12:25 /dev/hda13
brw-rw---- 1 root disk 3, 14 2006-12-04 12:25 /dev/hda14
brw-rw---- 1 root disk 3, 15 2006-12-04 12:25 /dev/hda15
brw-rw---- 1 root disk 3, 16 2006-12-04 12:25 /dev/hda16
brw-rw---- 1 root disk 3, 17 2006-12-04 12:25 /dev/hda17
brw-rw---- 1 root disk 3, 18 2006-12-04 12:25 /dev/hda18
brw-rw---- 1 root disk 3, 19 2006-12-04 12:25 /dev/hda19
brw-rw---- 1 root disk 3, 20 2006-12-04 12:25 /dev/hda20
brw-rw---- 1 root disk 3, 21 2006-12-04 12:25 /dev/hda21
brw-rw---- 1 root disk 3, 22 2006-12-04 12:25 /dev/hda22
brw-rw---- 1 root disk 3, 23 2006-12-04 12:25 /dev/hda23
brw-rw---- 1 root disk 3, 5 2006-12-04 12:25 /dev/hda5
brw-rw---- 1 root disk 3, 6 2006-12-04 12:25 /dev/hda6
brw-rw---- 1 root disk 3, 7 2006-12-04 12:25 /dev/hda7
brw-rw---- 1 root disk 3, 8 2006-12-04 12:25 /dev/hda8
brw-rw---- 1 root disk 3, 9 2006-12-04 12:25 /dev/hda9
root at grml ~ # grml-version
0.9-rc2 Release Codename Dioptrienotto [2006-12-04]
root at grml ~ # uname -a
Linux grml 2.6.18-grml #1 SMP PREEMPT Sun Nov 26 00:20:04 CET 2006 i686 GNU/Linux
root at grml ~ #
Did you modify anything in the partition table of the disk? If so
you must make sure that no partition of the disk is use, otherwise
the BLKRRPART ioctl() fails of course and new devices won't be
created therefore. (That's BTW the main reason why we chose to
deactivate swap partitions by default for the new release of the
live-cd.)
regards,
-mika-
--
http://grml.org/ # Linux for texttool-users and sysadmins
http://wiki.grml.org/ # share your knowledge
http://grml.supersized.org/ # the grml development weblog
#grml @ irc.freenode.org # meet us on irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.mur.at/pipermail/grml/attachments/20061204/2f7260ef/attachment.pgp
More information about the Grml
mailing list