Simple Rsync

I always have to look this up, but a simple rsync command is:

# /usr/bin/rsync --archive --compress --hard-links /local/home/cp/user1 /media/cppc_deleted_acc/

This will copy the directory user1 to /media/cppc_deleted_acc/user1.

El Capitan Simple DOS Format

The disk utility in El Capitan looks to be much more limited than it used to be in older versions of mac os x. So I need to use the command line to do a lot of things now. First off is a simple format of a new disk as an plain dos disk.

yo:~ $ diskutil partitionDisk disk2 1 MBR fat32 X R
Started partitioning on disk2
Unmounting disk
Creating the partition map
Waiting for the disks to reappear
Formatting disk2s1 as MS-DOS (FAT32) with name X
512 bytes per physical sector
/dev/rdisk2s1: 490115008 sectors in 7658047 FAT32 clusters (32768 bytes/cluster)
bps=512 spc=64 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=2 drv=0x80 bsec=490234750 bspf=59829 rdcl=2 infs=1 bkbs=6
Mounting disk
Finished partitioning on disk2
/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *251.0 GB   disk2
   1:                 DOS_FAT_32 X                       251.0 GB   disk2s1

This just created an empty dos disk, with the label X and using the master boot record.

I also used to format disks as regular free space so that I could easily make a bootable iso file. So I'd use this command to do that.

diskutil partitionDisk disk2 1 MBR free X R

Unfortunately, with El Capitan I haven't been having any luck in making bootable usb drives. The dd command isn't working the same as on older versions. So that's one thing I need to look into.

RHEL7 Systemd (Startup) Script

I have an RHEL7 system that needs to start an lmgrd license file for some autodesk software. And since RHEL7 now uses systemd, I have to change my old sysinit scripts to work here. So here's what I did.

In /etc/systemd/system, create autodesk_license.service

Description=Autodesk Flexnet License Server



Make the autodesk_license_start/stop scripts in /usr/lib/systemd/scripts



/opt/flexnetserver/lmgrd -l /opt/flexnetserver/autodesk.log -c /opt/flexnetserver/autodesk.lic



/opt/flexnetserver/lmutil lmdown -q -c /opt/flexnetserver/autodesk.lic

Start it with:

# systemctl start autodesk_license

Enable it with:

# systemctl enable autodesk_license

Been A While

My summer has been pretty crazy with a big work conference that is finally over. My life is now my own again. Yay! I've been very behind in doing my monthly checking, but that's ok. The good news is that I don't have to go back to work for over a week. So I'm trying to do a bunch of projects around the house.

First up, I've never posted my video I made of the bookshelf that I made for a friend of mine's birthday. It's below.

That was a lot of fun to do and I want to do more woodworking. One thing though is that I broke my planer. It no longer will plane the really skinny pieces of lathe that I want to glue together. The thinnest I can plane a board is around 1". I think this is because the belt broke and when I fixed it, I must have broken something else. I ended up buying a new planer. It's a less expensive one, which is fine. I'm really just using it to clean up old, dirty wood. I have yet to set it up, so that will probably be one of my projects this week.

It's harvest time in my garden. I've already gotten boatloads of tomatoes. I've given a bunch to my brother and just took a bag full to my Mom today. So I need to research how to make tomato sauce that I can freeze because there's no way I could eat all of these before they go bad. Since the garden worked so well this year, I'll probably make another little area next year. Think I'd like to try to grow lettuce and spinach.

If I'm going to make xmas gifts for people this year, I need to start. And while I like the idea of making bookshelves for people, I don't want to give people a big piece of furniture. That seems a bit much. Anyway, I'm back to working with paper again. I've found some great youtube videos of how to make different types of books and bindings. That looks like fun, so I'll see if I can come up with something cool.

Though, I would still like to make some stuff out of wood because I finally got my brand. I did have a little bit of time to do something fun last month and I designed a brand for myself. I then sent it to Shapeways to get made in stainless steel. It just arrived the other day. I'm quite happy with it.


Now I need to put a handle on it so I can heat it up and put my brand on things. I bought a threaded rod and a tap and die set today. Hopefully, I can drill a hole and put threads in it. Another project for this week. But once that's done, I should be able to brand just about anything.