clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 98625cf was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago |
r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move
|
-
Property mode
set to
100644
|
File size:
738 bytes
|
Rev | Line | |
---|
[617118d] | 1 | diff -X /usr/src/dontdiff -urN e2fsprogs-old/misc/util.c e2fsprogs-1.34/misc/util.c
|
---|
| 2 | --- e2fsprogs-old/misc/util.c Sat May 3 15:46:47 2003
|
---|
| 3 | +++ e2fsprogs-1.34/misc/util.c Tue Sep 30 06:56:11 2003
|
---|
| 4 | @@ -108,13 +108,8 @@
|
---|
| 5 | #define MAJOR(dev) ((dev)>>8)
|
---|
| 6 | #define MINOR(dev) ((dev) & 0xff)
|
---|
| 7 | #endif
|
---|
| 8 | -#ifndef SCSI_BLK_MAJOR
|
---|
| 9 | -#define SCSI_BLK_MAJOR(M) ((M) == SCSI_DISK_MAJOR || (M) == SCSI_CDROM_MAJOR)
|
---|
| 10 | -#endif
|
---|
| 11 | - if (((MAJOR(s.st_rdev) == HD_MAJOR &&
|
---|
| 12 | - MINOR(s.st_rdev)%64 == 0) ||
|
---|
| 13 | - (SCSI_BLK_MAJOR(MAJOR(s.st_rdev)) &&
|
---|
| 14 | - MINOR(s.st_rdev)%16 == 0))) {
|
---|
| 15 | + if (MAJOR(s.st_rdev) == HD_MAJOR &&
|
---|
| 16 | + MINOR(s.st_rdev)%64 == 0) {
|
---|
| 17 | printf(_("%s is entire device, not just one partition!\n"),
|
---|
| 18 | device);
|
---|
| 19 | proceed_question();
|
---|
Note:
See
TracBrowser
for help on using the repository browser.