Article View: comp.sys.amiga.tech
Article #13343Re: Determining disk devices
From: Andy Finkel
Date: Fri, 05 Jan 1990 14:42
Date: Fri, 05 Jan 1990 14:42
21 lines
1298 bytes
1298 bytes
In article <331@sed170.HAC.COM> lee@sed170.UUCP (John Lee) writes:
>
>My question is simple. How do you make sure you locate only disk devices,
>and not merely all devices that are resident and have a name?
Well, until the recent spate of handlers, there was a packet or
two that could tell the difference between a handler and a filesystem...
(and there will be a way again in the future)
For now (and, if you always want to be safe) run through the list
twice, and only report the devices that have matching volume nodes.
andy
--
andy finkel {uunet|rutgers|amiga}!cbmvax!andy
Commodore-Amiga, Inc.
"When I was a little boy I wanted to be a fireman. Now I am."
Any expressed opinions are mine; but feel free to share.
I disclaim all responsibilities, all shapes, all sizes, all colors.
Technical Details
Message-ID:
<9223@cbmvax.commodore.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!oliveb!amiga!cbmvax!andyReferences:
<331@sed170.HAC.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!oliveb!amiga!cbmvax!andy From: andy@cbmvax.commodore.com (Andy Finkel) Newsgroups: comp.sys.amiga.tech Subject: Re: Determining disk devices Message-ID: <9223@cbmvax.commodore.com> Date: 5 Jan 90 14:42:20 GMT References: <331@sed170.HAC.COM> Reply-To: andy@cbmvax.commodore.com (Andy Finkel) Organization: Commodore, West Chester, PA Lines: 21