On 28 Jan 2003 at 8:54am, Eric Sproul wrote
> Hi all,
> After searching the archives, I can't seem to find an answer to a
> nagging little problem-- one of my clients is a Solaris 8 machine
> running software RAID, so its devices begin with "/dev/md/dsk...".
> However, AMANDA does not have this as one of her defined prefixes, so
> I'm forced to put the entire device name in my disklist, e.g.
> "/dev/md/dsk/d14" instead of just "d14" which would be nice and neat.
>
> I don't see a configure option where you can specify the device prefix.
> >From the debug output, I know the client at least has the ordinary
> "/dev/dsk" prefix. How do I add/change the device prefix in the
> client? I'm currently running 2.4.2p2 on the client, but I can upgrade
> if there is a way in the latest version.
It looks like this is defined (as DEV_PREFIX and RDEV_PREFIX) in
config/config.h based on the results of ./configure. You could add the
check to the configure script or just change the values of (R)DEV_PREFIX
in config.h. I'm not sure if this will break anything, so test it.
> As I said, this is really just a nuisance. The client is being backed
> up just fine. I just want my disklist to look nice! ;-P
Well, IMO, mount points look a lit nicer than device names. They also
stay consistent should the underlying hardware/config change. Just my
$0.02.
--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University
|