[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IMPORTANT: What can we do about the base package?



Brian C. White:
> Or, maybe...  Build a base package that _does_ include all the /dev files,
> but upon removal it archives all those files during "prerm" and puts them
> all back again during "postrm".  Thus, whenever this new base package
> is removed, dpkg will delete all the files in /dev and then they will
> be immediately restored without dpkg's knowledge.

Sure, I guess that'll work. I don't see any advantages or disadvantages
compared to my method.
 
> My question is...  Can you write to a file system if its underlying
> device has been deleted?

Yes, you can. I just checked.

-- 
#!/usr/bin/perl -i=-/*/~%*~%/~~%/~~~-/*/_/=~~~-/====~~! # joey@kite.ml.org
$o=35;$_="$^I-*!=====_!/";s/~/!*/g;s~%~-/ / ~g;$_.='---      Joey Hess
';s/=/__/g;y|*!| \\|;for(split/-/){print' 'x$o--."$_\n"}# a M.C. Escher fan
               "true - do nothing, successfully" - - true (1)


Reply to: