filesystem   20848

« earlier    

python - From stat().st_mtime to datetime? - Stack Overflow |
Try datetime.fromtimestamp(statResult.st_mtime)

<code class="language-python">import datetime

mod_timestamp = datetime.datetime.fromtimestamp(path.getmtime(<YOUR_PATH_HERE>))</code>
stat  unix  filesystem  timeanddate  solution 
4 days ago by kme
Chris's Wiki :: blog/unix/TheLegendOfSync

The sync folklore dates from the very old days when Unix was primitive and two things were true. First, the sync() system call that the sync program uses just queued dirty buffers to be flushed and didn't guarantee that they had been writing to disk. Second, the kernel itself didn't force all buffers to be written to disk as part of the shutdown or reboot process.
unix  history  filesystem 
5 days ago by jefframnani
md5deep and hashdeep
md5deep is a set of programs to compute MD5, SHA-1, SHA-256, Tiger, or Whirlpool message digests on an arbitrary number of files.

hashdeep is a program to compute, match, and audit hashsets. With traditional matching, programs report if an input file matched one in a set of knows or if the input file did not match. It's hard to get a complete sense of the state of the input files compared to the set of knowns. It's possible to have matched files, missing files, files that have moved in the set, and to find new files not in the set. Hashdeep can report all of these conditions. It can even spot hash collisions, when an input file matches a known file in one hash algorithm but not in others. The results are displayed in an audit report.
linux  security  mac  application  filesystem  backup  protection 
7 days ago by MichaelX
DORMANDO - / /usr /home split
I swear I first read this in a Slackware install guide, but I had the habit of making /, /usr, /home, as well as /tmp or /var split into different mounts. The theory was that the files in / changed least, /usr more often, with /home, /tmp, and /var touched most often.

So in the case of power loss, kernel panic, or cords-wrapped-around-chairs, the filesystems were split in highest odds of being able to boot again to rescue the system. / contained just enough to boot, /usr had more useful utilities, and /home had all your stuff. I personally benefitted from this split several times on servers and a home machine.
unix  filesystem  sysadmin  butwhy  explained 
8 days ago by kme
IPFS is the Distributed Web
IPFS is the Distributed Web

A peer-to-peer hypermedia protocol to make the web faster, safer, and more open.

HTTP is inefficient and expensive. IPFS makes it possible to distribute high volumes of data with high efficiency. And zero duplication means savings in storage.

Humanity's history is deleted daily. IPFS provides historic versioning (like git) and makes it simple to set up resilient networks for mirroring of data.

The web's centralization limits opportunity. IPFS remains true to the original vision of the open and flat web, but delivers the technology which makes that vision a reality.

Our apps are addicted to the backbone. IPFS powers the creation of diversely resilient networks which enable persistent availability with or without Internet backbone connectivity.
storage  sharing  webdev  hosting  blockchain  filesystem 
10 days ago by rsgranne

« earlier    

related tags

00000  9p  9p2000  @goodie  advice  alteration  apfs  app  apple  application  architecture  archive  archiving  articles  automation  awww  backup  backups  bash  bbs  best  block  blockchain  bootarg  butwhy  case  ceph  change  cli  cloud  cluster  code  coding  compatibility  computer  container  conventions  cool-tools  copy  cow  data  design  desktop  dev  development  device  devops  directory  distributed  docker  dokan  driver  dwim  embedded  encryption  environment  explained  ext4  extension  fat32  fhs  file  filemanager  filename  files-as-directories  files  filesystem-bios  filesystem-ntfs  filesystem-stuff  filesystem-uefi  finder  flat  floss  folder  folders  foss  free  freeware  fsarchiver  ftp  fuse  gallery  git  go  golang  gui  hacks  haskell  hfs  hierarchy  history  hosting  howto  http  ieee-488  ieee  inmemory  inode  inotify  interface  internals  ios  kde  kubernetes  layout  library  linux  lkml  lwn  mac  macintosh  macos  macosx  metadata  mh  mhie  monitoring  mount  network  networking  ntfs  openbsd  opensores  opensource  oracle  organization  organizing  os-gnu-linux-install  os-gnu-linux  os-windows  os  oss  osx  outage  overview  performance  perl  permissions  persistence  photo  plan9  platform  practices  presentation  programming  protection  python  python27  rdfs  recreation  reference  reiserfs  ruby  script  scripted  sdcard  search  searchengine  security  sensitivity  shadow  sharing  shell  shellscripting  simulation  slides  snapshot  softraid  software  solution  ssh  sshfs  standards  stat  storage  structure  symbolic.links  symlinks  sync  sysadmin  tag  tagging  tech  timeanddate  timemachine  tips  tool  tools  tracker  tricks  type-article  type-discussion  ui  unix  uri  util  utilities  utility  ux  viakoolinus  watch  webdev  windows  wsl  xattr  zfs  zsh 

Copy this bookmark: