Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/eject racd *should* be ejectable. Kernel side to come
details: https://anonhg.NetBSD.org/src/rev/3a3fc80466a0
branches: trunk
changeset: 780190:3a3fc80466a0
user: abs <abs%NetBSD.org@localhost>
date: Sat Jul 14 20:41:27 2012 +0000
description:
racd *should* be ejectable. Kernel side to come
diffstat:
usr.bin/eject/eject.c | 39 ++++++++++++++++++++-------------------
1 files changed, 20 insertions(+), 19 deletions(-)
diffs (60 lines):
diff -r b22f9fb9c76d -r 3a3fc80466a0 usr.bin/eject/eject.c
--- a/usr.bin/eject/eject.c Sat Jul 14 20:32:39 2012 +0000
+++ b/usr.bin/eject/eject.c Sat Jul 14 20:41:27 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: eject.c,v 1.26 2010/06/23 18:07:59 yamt Exp $ */
+/* $NetBSD: eject.c,v 1.27 2012/07/14 20:41:27 abs Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
#endif /* not lint */
#ifndef lint
-__RCSID("$NetBSD: eject.c,v 1.26 2010/06/23 18:07:59 yamt Exp $");
+__RCSID("$NetBSD: eject.c,v 1.27 2012/07/14 20:41:27 abs Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -74,23 +74,24 @@
# define FLOPPY 0x2
# define TYPEMASK ((int)~0x01)
} nicknames[] = {
- { "diskette", "fd", DISK | FLOPPY | NOTLOADABLE },
- { "floppy", "fd", DISK | FLOPPY | NOTLOADABLE },
- { "fd", "fd", DISK | FLOPPY | NOTLOADABLE },
- { "sd", "sd", DISK | NOTLOADABLE },
- { "cdrom", "cd", DISK | LOADABLE },
- { "cd", "cd", DISK | LOADABLE },
- { "cdr", "cd", DISK | LOADABLE },
- { "cdrw", "cd", DISK | LOADABLE },
- { "dvdrom", "cd", DISK | LOADABLE },
- { "dvd", "cd", DISK | LOADABLE },
- { "dvdr", "cd", DISK | LOADABLE },
- { "dvdrw", "cd", DISK | LOADABLE },
- { "mcd", "mcd", DISK | LOADABLE }, /* XXX Is this true? */
- { "tape", "st", TAPE | NOTLOADABLE },
- { "st", "st", TAPE | NOTLOADABLE },
- { "dat", "st", TAPE | NOTLOADABLE },
- { "exabyte", "st", TAPE | NOTLOADABLE }
+ { "diskette", "fd", DISK | FLOPPY | NOTLOADABLE },
+ { "floppy", "fd", DISK | FLOPPY | NOTLOADABLE },
+ { "fd", "fd", DISK | FLOPPY | NOTLOADABLE },
+ { "sd", "sd", DISK | NOTLOADABLE },
+ { "cdrom", "cd", DISK | LOADABLE },
+ { "cd", "cd", DISK | LOADABLE },
+ { "racd", "racd", DISK | LOADABLE },
+ { "cdr", "cd", DISK | LOADABLE },
+ { "cdrw", "cd", DISK | LOADABLE },
+ { "dvdrom", "cd", DISK | LOADABLE },
+ { "dvd", "cd", DISK | LOADABLE },
+ { "dvdr", "cd", DISK | LOADABLE },
+ { "dvdrw", "cd", DISK | LOADABLE },
+ { "mcd", "mcd", DISK | LOADABLE }, /* XXX Is this true? */
+ { "tape", "st", TAPE | NOTLOADABLE },
+ { "st", "st", TAPE | NOTLOADABLE },
+ { "dat", "st", TAPE | NOTLOADABLE },
+ { "exabyte", "st", TAPE | NOTLOADABLE }
};
#define MAXNICKLEN 12 /* at least enough room for the longest
* nickname */
Home |
Main Index |
Thread Index |
Old Index