Репозиторий Sisyphus
Последнее обновление: 8 марта 2021 | Пакетов: 17846 | Посещений: 20419866
en ru br
Репозитории ALT
S:540.1.linux3-alt2
www.altlinux.org/Changes

Группа :: Система/Настройка/Оборудование
Пакет: hfsprogs

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: 70-diskdev_cmds_system_check-332.14.patch
Скачать


Author: Rogц╘rio Brito <rbrito@ime.usp.br>
Description:
  Create a new command line option (-a) for the fsck.hfsplus that has the same
  behavior that the -p option has, for greater compatibility with other tools.
--- a/fsck_hfs.tproj/fsck_hfs.c
+++ b/fsck_hfs.tproj/fsck_hfs.c
@@ -104,7 +104,7 @@
 	else
 		progname = *argv;
 
-	while ((ch = getopt(argc, argv, "c:D:dfglm:npqruy")) != EOF) {
+	while ((ch = getopt(argc, argv, "c:D:dfglm:napqruy")) != EOF) {
 		switch (ch) {
 		case 'c':
 			/* Cache size to use in fsck_hfs */
@@ -169,6 +169,7 @@
 			yflag = 0;
 			break;
 
+		case 'a':
 		case 'p':
 			preen++;
 			break;
@@ -572,7 +573,7 @@
 	(void) fprintf(stderr, "  l = live fsck (lock down and test-only)\n");
 	(void) fprintf(stderr, "  m arg = octal mode used when creating lost+found directory \n");
 	(void) fprintf(stderr, "  n = assume a no response \n");
-	(void) fprintf(stderr, "  p = just fix normal inconsistencies \n");
+	(void) fprintf(stderr, "  p, a = just fix normal inconsistencies \n");
 	(void) fprintf(stderr, "  q = quick check returns clean, dirty, or failure \n");
 	(void) fprintf(stderr, "  r = rebuild catalog btree \n");
 	(void) fprintf(stderr, "  u = usage \n");
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin