Date: Sat, 31 Jan 1998 10:19:42 +1030 From: Greg Lehey <grog@lemis.com> To: FreeBSD Hackers <hackers@FreeBSD.ORG> Subject: Non-existent slice open succeeds: bug or feature? Message-ID: <19980131101942.32279@lemis.com>
next in thread | raw e-mail | index | archive | help
I've just discovered a strangeness. I have a disk /dev/sd1 partitioned like this: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 1173459 0 unused 0 0 # (Cyl. 0 - 1210) h: 1173459 0 unused 0 0 # (Cyl. 0 - 1210) If I perform the following operation: # dd if=/dev/sd1e 0+0 records in 0+0 records out 0 bytes transferred in 0.000759 secs (0 bytes/sec) the open obviously succeeds. Why? It loos as if sd1e is a slice of length 0, but that's not the same thing as not existing. Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980131101942.32279>