#gentoo - Fri 6 Apr 2007 between 00:00 and 00:14

NY Lost Funds



bsdfox_psychomohel: try this- perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
JB318psychomohel: Ideally write a script to manage it in /etc/init.d, or put it in bootmisc.sh if that's overkill. But if it's Gentoo supplied then that should be handled for you.
psychomohelJB318: its not gentoo supplied, and i tried messing around with a script in /etc/init.d but i need it to be run as a normal user, not root
Draconx|Laptoppsych, on login? Put it in your shell's login scripts.
RiverRatpsychomohel: sudo can run things as a different user.
JB318psychomohel: Or just su, if root is running the script
RamblurrJB318: 49944.7436180115
JB318Ramblurr: So that's how many megabytes you'd get if you took all your files and concatenated them together end-to-end, which is roughly what tar does (+ a bit of format overhead).
Ramblurr: Is that how big your tar file is?
g2usercheeseboy: emerge lxml
?
JB318Ramblurr: (Might rerun my script without "/ 1048576" to get exact byte cound)
count, even
RamblurrJB318: That is how much of the partition df reports is used.. the tar file is 31G
JB318: I am going to recrate the tar file
JB318Ramblurr: Yeah, that's sounding like a reasonable idea, unless you can figure out that you've got holes somewhere (but df should account for holes...)
RamblurrJB318: I'm saving the tar file remotely with tar cpf - . | ssh remotehost cat ">" /remote/dir
Skapareholes? sparse holes?
JB318Skapare: Right
Skaparein a tar file? well I guess if the original file had them, it might be appropriate
actionSkapare was just sparsifying some of his old ISO files
Skaparewas just sparsifying some of his old ISO files
JB318Skapare: His backup tar file is dramatically smaller than the used space on his ext3fs
Skaparea tar that sparsifies?
JB318Ramblurr: Just a thought, are you sure you got everything? Try tar cpvf and stuff stderr somewhere, see if you see anything missing
Skapareusually compression does just as well
JB318Skapare: This is uncompressed :(
Draconx|Laptopor use du --apparent-size to see how big the files actually are
psychomohelJB318: running sudo in init scripts does not seem to change the user for me
Skapareif the tar file needs to stay uncompressed for some reason, that would seem appropriate
JB318psychomohel: Well I'd use su, not sudo
kc8pxybsdfox_: ~60USD?
bsdfox_kc8pxy: that's what I paid over 2 years ago
Skapareyeah, su to switch to a non-root user in a script
bsdfox_kc8pxy: I have seen them on sale for 25-30 if you want to shop around
RamblurrJB318: Skapare: I'm not compressing it because I figured that would take longer
JB318Ramblurr: I'm not really fluent in ssh yet (just started using it myself)... your command line looks reasonable but I can't vouch for it
SkapareRamblurr: if time is critical, good reason
JB318Ramblurr: Could you write the tar file to a named pipe and wc -c on it?
SkapareRamblurr: what is the purpose of this ... to make a backup of some files on another disk?
Grabberyeah

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 107 114 121 128 135 142 149 156 163 

IrcArchive

NY Lost Funds