为什么我们需要一个 ubuntuone 帐户才能在没有 root 的情况下安装 snaps?
应用程序(或其他东西)的设置是否保存在 ubuntuone 帐户中?
谢谢
例如没有登录,我只能用 root 安装 snaps:
$ snap install hello
error: access denied (try with sudo)
使用 Ubuntuone 帐户登录:
$ sudo snap login ***@***
Password of "***@***":
Login successful
之后,无需root即可:
$ snap install hello
hello 2.10 from 'canonical' installed
我在 32GB 的 U 盘(Hama FlashPen Elatio 32GB)上发现了一个奇怪的分区表。
fdisk 输出与 gparted 不同:
Disk /dev/sdb: 29.3 GiB, 31466323968 bytes, 61457664 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier:
Device Boot Start End Sectors Size Id Type
/dev/sdb1 778135908 1919645538 1141509631 544.3G 72 unknown
/dev/sdb2 168689522 2104717761 1936028240 923.2G 65 Novell Netware 386
/dev/sdb3 1869881465 3805909656 1936028192 923.2G 79 …
Run Code Online (Sandbox Code Playgroud) 如何列出所有带有硬链接和相关路径的文件?
它应该是一个按 inode ID 排序的列表。
编辑:当然,我的意思是所有硬链接号 >=2 的文件
我想到了一个列表
INODE_ID FILEPATH
1234 /tmp/test1
1234 /tmp/test2
3245 /tmp/test4
3245 /tmp/test3
Run Code Online (Sandbox Code Playgroud) command-line ×2
fdisk ×1
gparted ×1
hard-link ×1
partitioning ×1
root ×1
snap ×1
ubuntu-one ×1