597 reputation
1314
bio website bit.ly/GFscreener11
location stackoverflow.com@askmarcos.com
age
visits member for 2 years, 7 months
seen yesterday

Pioneers are the ones with arrows in their backs.

Investment Portfolio Software, Trade Automation

Designer of infinite compression algorithms, and other research projects


Feb
26
asked history list in bash always truncated to 5000 lines at new login
Feb
26
awarded  Scholar
Feb
26
awarded  Commentator
Feb
26
accepted how to use “Unusable” sectors outside defined partition boundaries
Feb
26
comment how to use “Unusable” sectors outside defined partition boundaries
Assigning answer for now. I'm looking to turn this into a fuller bootup solution that considers total sector count fdisk -s /dev/sda and boundary of last partition, to safely find that start offset.
Feb
25
answered changing default shell to /bin/bash of at job scheduler like in CRON
Feb
25
comment changing default shell to /bin/bash of at job scheduler like in CRON
It seems for now it can't be changed because the at daemon hardwires /bin/sh somewhere. My workarounds to call bash complicate and make for very confusing double/triple quote escaping.
Feb
3
comment How can I do a “copy if changed” operation?
Glad to help. I'm a stickler when it comes to preserving things like modtimes, permissions and soft links. Often overlooked
Feb
2
answered How do I copy all files and directories except certain ones over ssh?
Feb
2
revised How can I do a “copy if changed” operation?
cygwin comment
Feb
2
comment How can I do a “copy if changed” operation?
-times does that for me. Unison has a dry-run mode too, me thinks.
Feb
2
answered How can I do a “copy if changed” operation?
Feb
1
revised changing default shell to /bin/bash of at job scheduler like in CRON
test result
Feb
1
comment how to use “Unusable” sectors outside defined partition boundaries
@Psusi LVMs are great. Back in my datacenter days I'd stack them on top of RAID 5 arrays. My goal was to achieve a system in which storage devices could be added/replaced/even removed transparently to a live running OS, perceived only as a capacity change or tmp slowdown. Lustre fs does that, used by China's Tianhe-1A supercomputer among others. Word to the wise, I learned to keep it simple for boot&root drives though :)
Feb
1
comment how to use “Unusable” sectors outside defined partition boundaries
Now, that's getting closer to a transparent sort of approach I was thinking...didn't realize losetup had that -o start option. Combining that with a quick check at system start where the last partition ends and how many sectors are left on the block device is trivial....Lo and behold, I could then assign a consistent device path to harness that (tmp) space across all my servers with diff disks...nice. To be used for small backups, keep state information, and of course "secret" stuff outliving a possible fs reformat, and "safe" being beyond the reach of partitions. No extra kernel mod needed.
Feb
1
awarded  Supporter
Feb
1
comment how to use “Unusable” sectors outside defined partition boundaries
All this is true though kinda what I had in mind by "inconvenient" :) Plus I'm looking to avoid any fs structure altogether...remember how more storage a 1.44MB floppy used to let us access in "raw" mode?
Feb
1
comment how to use “Unusable” sectors outside defined partition boundaries
Right. In my case they're deliberate, and I intend on resizing 2 and 3 around, or merging, so that 13GB void is off limits. Part.tables themselves are so wasteful, like most disk meta data we're used to.
Jan
31
asked changing default shell to /bin/bash of at job scheduler like in CRON
Jan
31
awarded  Editor