Tag Info

New answers tagged

1

I should mention the IP addresses for CentOS are static. Does that matter? Yes it does. DHCP clients communicate their name in the course of DHCP negotiation. In fact, the first two lines of /etc/dhcp/dhclient.conf (on Debian, I do not know where that is on CentOS but it makes no difference) are: #send host-name "andare.fugue.com"; send host-name ...


0

The Linux kernel documentation of the snapshot DM target contains the answer to your first question: The snapshot-merge and snapshot status lines end with: <sectors_allocated>/<total_sectors> <metadata_sectors> The first two numbers (0 and 4194304 in your case) define the start and the length of the mapping in 512-byte sectors, but ...


0

It has been the middle of 2015, The version 7 of CentOS has been released for a long time and a major upgrade of Linux kernel -- 4.0 -- was released about two months ago, so I think it's time we keep up with the pace of software development. If CentOS does not want to upgrade the kernel because of steadiness consideration for example, let's do it ourselves! ...


1

The command stat -c '%U:%G' home/userB/finalfolder returns the owner and group of the finalfolder, separated by a colon. This is just the format that chown needs. Thus, use: chown "$(stat -c '%U:%G' home/userB/finalfolder)" /home/userB/finalfolder/abc.bin This works with GNU stat which should be fine because you are on centos.



Top 50 recent answers are included