paulgorman.org

< ^ txt

Mon Oct 17 07:33:07 EDT 2016 Slept from eleven to seven. Woke up briefly after two o'clock. High of eighty-one. Twenty-some chance of thunderstorms. Goals: Work: - Review tickets Done. - Follow up on Windows 10 license Done. I emailed CDW. - Order iPhone charger for Mr. H Done. - Figure out Yardi database dump sftp or whatever serving Not much. Half hour walk at lunch. Saw two little white butterflies, four seagulls, and three crows. It's nice out, but starting to get a little too warm. Color's creeping into a lot of the trees. https://en.wikipedia.org/wiki/Loop_device > In Unix-like operating systems, a loop device, vnd (vnode disk), or lofi (loop file interface) is a pseudo-device that makes a file accessible as a block device. Before use, a loop device must be connected to an existing file in the filesystem. The association provides the user with an API that allows the file to be used in place of a block special file (cf. device file system). Thus, if the file contains an entire file system, the file may then be mounted as if it were a disk device. > After mounting a file that holds a filesystem, the files within the filesystem can be accessed through the usual filesystem interface of the operating system, without any need for special functionality, such as reading and writing to ISO images, in applications. > Loop mounting has several uses. It is a convenient method for managing and editing filesystem images offline, that are later used for normal system operation. This includes CD or DVD images or installation systems. It may be used for installing an operating system onto a filesystem without repartitioning a disk. It also provides a permanent segregation of data, for example, when simulating removable media on a faster and more convenient hard disk or encapsulating encrypted filesystems. See "LOOP DEVICE" in mount(8): $ mount -o loop foo.img $HOME/mnt/foo https://sanctum.geek.nz/arabesque/linux-crypto-disks/ # dd if=/dev/zero of=/loopdev bs=1k count=102400 102400+0 records in 102400+0 records out 104857600 bytes (105 MB) copied, 0.331452 s, 316 MB/s # losetup -f /dev/loop0 # losetup /dev/loop0 /loopdev % apt-cache show cryptsetup Change/add password to ssh key file: % ssh-keygen -p -f .ssh/id_rsa Add the key to ssh-agent, so we don't need to type it every time: $ ssh-add Home: - Work on D&D mini rules Done. - Grappling and subdual - Experts (sages, engineers, etc.) - Remember to take salad home for dinner Done. Took a twenty minute walk after I got home. Saw a pair of crows hanging out on top of a dead pine tree; very seasonal. Breakfast: carrots, spinach, coffee with half-and-half, yogurt Lunch: salad Dinner: left-over pizza

< ^ txt